<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The CairoFontSlant class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="cairofontoptions.status.html">CairoFontOptions::status</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.cairofonttype.html">CairoFontType</a></div>
 <div class="up"><a href="book.cairo.html">Cairo</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.cairofontslant" class="reference">

 <h1 class="title">The CairoFontSlant class</h1>
 

 <div class="partintro"><p class="verinfo">(No version information available, might only be in Git)</p>


  <div class="section" id="cairofontslant.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    Specifies variants of a font face based on their slant.
   </p>
  </div>


  <div class="section" id="cairofontslant.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">CairoFontSlant</strong>
     </span>
     {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 常量 */</div>
    <div class="fieldsynopsis">
     <span class="modifier">const</span>
     <span class="type">integer</span>
      <var class="fieldsynopsis_varname"><a href="class.cairofontslant.html#cairofontslant.constants.normal"><var class="varname">NORMAL</var></a></var>
     <span class="initializer"> = 0</span>
    ;</div>

    <div class="fieldsynopsis">
     <span class="modifier">const</span>
     <span class="type">integer</span>
      <var class="fieldsynopsis_varname"><a href="class.cairofontslant.html#cairofontslant.constants.italic"><var class="varname">ITALIC</var></a></var>
     <span class="initializer"> = 1</span>
    ;</div>

    <div class="fieldsynopsis">
     <span class="modifier">const</span>
     <span class="type">integer</span>
      <var class="fieldsynopsis_varname"><a href="class.cairofontslant.html#cairofontslant.constants.oblique"><var class="varname">OBLIQUE</var></a></var>
     <span class="initializer"> = 2</span>
    ;</div>

    
   }</div>


  </div>
  

  <div class="section" id="cairofontslant.constants">
   <h2 class="title">预定义常量</h2>
   <dl>


    
     <dt id="cairofontslant.constants.normal"><strong><code>CairoFontSlant::NORMAL</code></strong></dt>

     <dd>

      <p class="para">Upright font style </p>
     </dd>

    

    
     <dt id="cairofontslant.constants.italic"><strong><code>CairoFontSlant::ITALIC</code></strong></dt>

     <dd>

      <p class="para">Italic font style </p>
     </dd>

    

    
     <dt id="cairofontslant.constants.oblique"><strong><code>CairoFontSlant::OBLIQUE</code></strong></dt>

     <dd>

      <p class="para">Oblique font style </p>
     </dd>

    

   </dl>

  </div>



 </div>

 

</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="cairofontoptions.status.html">CairoFontOptions::status</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.cairofonttype.html">CairoFontType</a></div>
 <div class="up"><a href="book.cairo.html">Cairo</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
